class Login():
    switch:None
    url:None
    js:None
    dict:None
    sleep:0 #登录后 睡眠时间
    def __init__(self,dict):
        self.dict=dict
        pass

    def __getattr__(self, item):
        # print("你要获取login-->:",item,":",self.dict[item])
        if item in self.dict:
            return self.dict[item]
        # else:
        #  # 如果属性不存在于配置字典中，则抛出异常
        # raise AttributeError(f"'Config' object has no attribute '{item}'")